REST GetClient Node
The REST GetClient
Node gets a trigger to the Input Port
, requests REST API Server, gets respond from the
REST API Server, and sends respond to the
Output Ports`.
The REST GetClient Node
gets an event of any data type to the trigger
Input Port
to send a request.
The Node has the following General
and Input
Configuration Parameters
:
uri
(obligatory). Insert thedefault uri
of theREST API Server
in theGeneral
Configuration Parameters. IfREST GetClient Node
getsoptional uri
to theInput Ports
the defaulturi
is ignored.header
(optional). Empty by default. Gets configurations as aJSON object
. Is used to configure authorization, coockie, session etc. IfREST GetClient Node
getsoptional header
to theInput Ports
the configuration parameters from the defaultheader
andoptional header
are joined.params
(optional). Empty by default. Gets params as aJSON object
. IfREST GetClient Node
getsoptional params
to theInput Ports
the configuration parameters from the defaultparams
andoptional params
are joined.code
(optional). Missing by default. The additional parameters can be transmitted to theInput Ports
by clicking+
button and adding data of any type.
The Node has the following Output Ports
:
body
. The Port gets and transmits the respond of theREST API Server
. The data type of theOutput Port
can bestring
orobject
depending on theheaders["Content-Type"]
in the respond of theREST API Server
.header
(optional). The Port gets and transmits theheader
as aJSON object
. The Port gets and transmits the header of the respond of theREST API Server
.status
(optional). The Port gets and transmits thestatus
code of theREST API Server
respond as aninteger
number, ex.200, 201, 400, 500
has_error
. The Port gets and transmits theboolean
valueTrue
if there is an error while requesting theREST API Server
, orFalse
if theREST API Server
gets request without an error.